#ifndef CIMAGEWIDGET_H
#define CIMAGEWIDGET_H

#include <QWidget>

namespace Ui {
class CimageWidget;
}

class CimageWidget : public QWidget
{
    Q_OBJECT

public:
    explicit CimageWidget(QWidget *parent = nullptr);
    ~CimageWidget();

signals:
    void btnClicked();

private:
    Ui::CimageWidget *ui;

    bool mouse_press;

    void enterEvent(QEvent *);
    void leaveEvent(QEvent *);
    void mousePressEvent(QMouseEvent *event);
    void mouseReleaseEvent(QMouseEvent *event);
};

#endif // CIMAGEWIDGET_H
